﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Model;
using BLL;
namespace MengQiqiService.Controllers
{
    public class SellController : ApiController
    {
        Sell_BLL bll = new Sell_BLL();
        public int Add(Sell_tb model)
        {
            return bll.Add(model);
        }

        public int Upt(Sell_tb model)
        {
            return bll.Upt(model);
        }

        public int Del(object id)
        {
            return bll.Del(id);
        }

        public List<Sell_tb> GetData()
        {
            return bll.GetData();
        }
    }
}